package com.xkcoding.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @author xuchao
 * @date 2020/6/30 16:23
 * @desc
 */
@RestController
public class FeiginController {
  @Autowired
  private FeignDemo feignDemo;
  @GetMapping("/test")
  public Map test(){
    return feignDemo.creat();
  }

    public static void main(String[] args) {
        String s ="20202.3032.3";
        String s1 = s.replaceAll(".", "");
        String s2 = s.replace(".", "");
        System.out.println("111"+s1);
        System.out.println("222"+s2);

    }
}
